home *** CD-ROM | disk | FTP | other *** search
- on rewardspin
- global fpos
- preLoadCast("w1", "w2")
- set notdone to 1
- repeat while notdone = 1
- repeat with xxx = 1 to 2
- set the castNum of sprite 4 to the number of cast ("w" & xxx)
- repeat with yyy = 1 to 8
- ssetpos(yyy + 6, getAt(getAt(fpos, xxx), yyy))
- end repeat
- updateStage()
- mydelay(30)
- end repeat
- set temp to sinfo(14)
- repeat with xxx = 14 down to 8
- sactivate(xxx, sinfo(xxx - 1))
- end repeat
- sactivate(7, temp)
- set the castNum of sprite 4 to the number of cast "w1"
- repeat with yyy = 1 to 8
- ssetpos(yyy + 6, getAt(getAt(fpos, 1), yyy))
- end repeat
- updateStage()
- if the visible of sprite 11 = 1 then
- set notdone to 0
- end if
- end repeat
- end
-
- on ptortime
- set mp to point(100, 100)
- set mr to rect(100, 100, 200, 200)
- startTimer()
- repeat with xxx = 1 to 1000
- set ringmuscle to inside(mp, mr)
- end repeat
- put the timer
- end
-